﻿// -----------------------------------------------------------------------
// <copyright file=DmBacSyBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmBacSyBusiness
    {
        DmBacSyDataAccess objDa = null;

        public DmBacSyBusiness()
        {
            objDa = new DmBacSyDataAccess();
        }

        public bool InsertDmBacSy(DmBacSyEntity obj)
        {
            return objDa.InsertDmBacSy(obj);
        }

        public bool EditDmBacSy(DmBacSyEntity obj)
        {
            return objDa.EditDmBacSy(obj);
        }

        public bool DeleteDmBacSy(string maBacSy)
        {
            return objDa.DeleteDmBacSy(maBacSy);
        }

        public DmBacSyEntity GetDmBacSy(string maBacSy)
        {
            return objDa.GetDmBacSy(maBacSy);
        }

        public IList<DmBacSyEntity> GetDmBacSyList()
        {
            return objDa.GetDmBacSyList();
        }

    }
}